<?php global $base_url?>
<div class="grid_8">
    <div class="second_menu">
        <ul>
            <?php hkfanr_cms_second_menu_alter();?>
        </ul>
    </div>
    <div class="third_menu">
        <ul>
            <?php hkfanr_cms_third_menu_alter();?>
        </ul>
    </div>
    <div class="list_container">
        <ul>
            <?php
            $list_item_arr = hkfanr_wellklist();
            foreach ($list_item_arr as $key => $each) {
            ?>
            
            <li class="list_item" id="list_item_<?php echo $key;?>">
                    <div class="list_item_cover">
                        <a href="<?php echo url('node/'.$each['nid']);?>">
                        <img class ="list_item_cover_img" id="" 
                            src="<?php echo file_create_url($each['uri']);?>"  
                            alt="list_item_cover" />
                        </a>
                    </div>
                    <div class="list_item_content">
                        <div class="list_item_title">
                            <a href="<?php echo url('node/'.$each['nid']);?>"><?php echo $each['title'];?></a>
                        </div>
                        <div class="list_item_row">
                            交易类型：<?php echo $each['field_deal_type_value'];?>
                        </div>
                        <div class="list_item_row">
                            付款方式：<?php echo $each['field_deal_payment_value'];?>
                        </div>
                        <div class="list_item_row">
                            物品价格：<?php echo $each['field_deal_price_value'];?>
                        </div>
                        <div class="list_item_row">
                            新旧程度：<?php echo $each['field_deal_quality_value'];?>
                        </div>
                        <div class="list_item_author">
                            <?php echo isset($each['users_name'])?$each['users_name']:$each['name'];?>
                        </div>
                        <div class="list_item_time">
                            <?php echo format_date($each['created'],'small');?>
                        </div>
                    </div>
                </li>
            <?php
            }
            ?>
        </ul>
    </div>
    <div id="loading_icon">
        <img class ="loading_icon_img"
            src="<?php print $base_url.'/'.drupal_get_path('theme', 'hkfanr_theme');?>/images/icon/icon_loading.png"
            alt="loading"/>
    </div>
</div>
 